

<form name="form1" method="post" action="" id="registJosaForm">
      <table cellpadding="0" cellspacing="0" class="searchTb">
        <tr>
          <th colspan="2">병해충명</th>
          <td colspan="3"><select>
        <option>소나무재선충병    </option>
        <option>솔잎혹파리        </option>
        <option>솔껍질깍지벌레    </option>
        <option>참나무시들음병    </option>
        <option>솔나방            </option>
        <option>흰불나방          </option>
        <option>오리나무잎벌레    </option>
        <option>잣나무넓적잎벌    </option>
        <option>솔알락명나방      </option>
        <option>밤나무해충        </option>
        <option>푸사리움가지마름병</option>
        <option>피목가지마름병    </option>
        <option>꽃매미            </option>
      </select></td>
        </tr>
        <tr>
          <th colspan="2">관리행정기관</th>
          <td colspan="3"><label for="textfield"></label>
            <select name="select5" id="select5">
              <option>강릉</option>
          </select></td>
        </tr>
        <tr>
          <th rowspan="4">발생위치</th>
          <th>원점</th>
          <td colspan="3">
          <small class="text-danger" style="display:block;">* 병해충 통합관리 서비스는 중부원점 GRS80 좌표를 기준으로 합니다.</small>        <label>
          <input type="radio" name="ㅁㅁ" value="라디오" id="ㅁㅁ_0" />
          서부원점</label>
        <label>
          <input type="radio" name="ㅁㅁ" value="라디오" id="ㅁㅁ_1" />
          중부원점</label>
          <label>
          <input type="radio" name="ㅁㅁ" value="라디오" id="ㅁㅁ_1" />
          동부원점
          </label>
          </td>
        </tr>
        <tr>
          <th>타원체</th>
          <td colspan="3"><label>
            <input type="radio" name="ㅁㅁ" value="라디오" id="ㅁㅁ_2" />
            Bessel</label>
            <label>
              <input type="radio" name="ㅁㅁ" value="라디오" id="ㅁㅁ_3" />
          GRS80</label></td>
        </tr>
        <tr>
          <th>X좌표</th>
          <td colspan="3"><input name="textfield2" type="text" id="textfield2" value="299823" />
            <a href="#" class="btn layer">지도로 찾기</a></td>
        </tr>
        <tr>
          <th>Y좌표</th>
          <td colspan="3"><input name="textfield3" type="text" id="textfield3" value="185722" /></td>
        </tr>
        <tr>
          <th rowspan="5">발생주소</th>
          <th>국가지점번호</th>
          <td colspan="3"><input name="textfield6" type="text" id="textfield6" /></td>
        </tr>
        <tr>
          <th>행정구역코드</th>
          <td colspan="3"><input name="textfield" type="text" id="textfield" value="185722" /> 
            * 코드를 입력후 엔터키를 누르면 해당주소가 입력됩니다.</td>
        </tr>
        <tr>
          <th>주소</th>
          <td colspan="3"><input name="textfield4" type="text" disabled="disabled" id="textfield4" value="경기도 고양시 고양동 고양1리" size="60" maxlength="60" />
          <a href="#" class="btn layer">주소검색</a></td>
        </tr>
        <tr>
          <th>지번</th>
          <td colspan="3"><input name="textfield8" type="text" id="textfield8" value="11-1" />
          　</td>
        </tr>
        <tr>
          <th>기타특징</th>
          <td colspan="3"><input name="textfield9" type="text" id="textfield9" size="50" /></td>
        </tr>
        <tr>
          <th colspan="2">경급</th>
          <td colspan="3"><label for="select"></label>
            <select name="select" id="select">
              <option>선택</option>
            </select></td>
        </tr>
        <tr>
          <th colspan="2">감염목여부</th>
          <td colspan="3"><select name="select2" id="select2">
            <option>유</option>
          </select></td>
        </tr>
        <tr>
          <th colspan="2">시료채취여부</th>
          <td colspan="3"><select name="select4" id="select4">
            <option>유</option>
          </select></td>
        </tr>
        <tr>
          <th colspan="2">수종</th>
          <td colspan="3"><select name="select3" id="select3">
            <option>선택</option>
          </select></td>
        </tr>
        <tr>
          <th colspan="2">예찰일</th>
          <td colspan="3"><input type="text" name="textfield10" id="textfield10" class="datepicker"/></td>
        </tr>
        <tr>
          <th colspan="2">예찰자 직급</th>
          <td><input type="text" name="textfield10" id="textfield10" class="datapicker"/></td>
          <th>예찰자 성명</th>
          <td><input type="text" name="textfield5" id="textfield5" class="datapicker"/></td>
        </tr>
        <tr>
          <th colspan="2">비고</th>
          <td colspan="3"><textarea name="textarea" id="textarea" cols="45" rows="5">산100-1</textarea></td>
        </tr>
      </table>
      <div class="btn_dp">
        <button type="submit">저장</button>
        <button type="button" class="close">닫기</button>
      </div>
    </form>
    
    <script type="text/javascript">
		$("form#registJosaForm").submit(function() {
			//저장 코드
			
			if ( !confirm("저장하시겠습니까?") ) return false;
			//저장 후 콜백
			if ( mapCtl ) {
				mapCtl.registEndPoint();
				//mapCtl.map.fireEvent("registPointCallback");
			}
			$(this).find(".close").click();
			return false;
		});
	</script>